From: Eric S. Raymond Date: Sun, 28 Mar 1993 06:24:33 +0000 (+0000) Subject: (electric-buffer-menu-mode-map): fillarray isn't a valid operation on maps X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~96663 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=f536481dfa361b606743b6c1ff11cdfd203e42cc;p=emacs.git (electric-buffer-menu-mode-map): fillarray isn't a valid operation on maps any more. --- diff --git a/lisp/ebuff-menu.el b/lisp/ebuff-menu.el index eedc984df06..7e511cc4d5f 100644 --- a/lisp/ebuff-menu.el +++ b/lisp/ebuff-menu.el @@ -152,10 +152,10 @@ electric-buffer-menu-mode-hook if it is non-nil." (put 'Electric-buffer-menu-undefined 'suppress-keymap t) (if electric-buffer-menu-mode-map nil - (let ((map (make-keymap))) - (fillarray map 'Electric-buffer-menu-undefined) - (define-key map "\e" (make-keymap)) - (fillarray (lookup-key map "\e") 'Electric-buffer-menu-undefined) + (let ((map (make-keymap)) (submap (make-keymap))) + (fillarray (car (cdr map)) 'Electric-buffer-menu-undefined) + (define-key map "\e" submap) + (fillarray (car (cdr submap)) 'Electric-buffer-menu-undefined) (define-key map "\C-z" 'suspend-emacs) (define-key map "v" 'Electric-buffer-menu-mode-view-buffer) (define-key map (char-to-string help-char) 'Helper-help)